home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Taifun / Taifun 036 (1987-11-15)(Ossowski, Stefan)(DE)(PD).zip / Taifun 036 (1987-11-15)(Ossowski, Stefan)(DE)(PD).adf / Xicon / Icon_Stuff / README < prev    next >
Text File  |  1989-01-18  |  3KB  |  73 lines

  1. The three utilities in this directory allow various manipulations on icons.
  2. ZapIcon and SetAlternate are public domain programs imported from other
  3. sources, and I don't have much information on them.  IconType is a quickie
  4. that I wrote, and short instructions are included here.
  5.  
  6. ZapIcon turns an IFF "Brush" file (from DPaint or elsewhere) into an icon.
  7. Just use the command:
  8.  
  9.              zapicon brushname iconname
  10.  
  11. (use the root of the icon name only -- i.e. omit the '.info' suffix.)
  12. It will ALWAYS create a TOOL icon.  If you want to use it with xicon,
  13. you must change its type to PROJECT by using IconType on it.
  14.  
  15. SetAlternate concatenates a second icon image to a single-image initial
  16. icon, so that the second will appear when it is selected.The format is:
  17.  
  18.              setalternate icon icon2
  19.  
  20. The first icon is modified.
  21.  
  22.                           +++++++++++++++++++
  23.  
  24.  
  25.                 IconType
  26.                         ________
  27.  
  28.  
  29. (No, Virginia - it doesn't type out an icon...)
  30. This is a (very) quick hack to allow you to change the type of an icon
  31. that you've created with ZapIcon (or otherwise).  BE CAREFUL! Don't
  32. go around changing icons arbitrarily.  You should probably use IconType
  33. as the last step after you have created your icon to match your file.
  34.  
  35. Command format:
  36.  
  37.         IconType <c> <name>
  38.  
  39. where:    <name> is the name of the icon WITHOUT '.info' appended, and
  40.     <c> is a single character indicating the type of icon you want,
  41.     selected from the following set:
  42.  
  43.         t    Tool
  44.         p    Project
  45.         r    dRaweR  (sorry, but it couldn't conflict with..)
  46.         d    Disk
  47.         g    Garbage (i.e. Trash Can)
  48.  
  49. As an example, suppose you want a fancy icon to use for an Xicon script 
  50. (named "marvelscript"... why be modest.).  You generate a nice brush with
  51. DPaint, and create "marvelscript.info" from it using ZapIcon.  Unfortunately
  52. ZapIcon always creates a Tool icon, but Xicon requires a Project type,
  53. so you just enter:
  54.  
  55.         IconType p marvelscript
  56.  
  57. and you have a useable icon/file pair.
  58.  
  59. Notes & warnings: A DISK type icon is not visible on the workbench screen
  60. unless it is named 'disk.info' and is in the root directory.  DON'T try to
  61. use an icon which is the wrong type for its associated item, unless you are
  62. willing to accept unexpected consequences.  (And there may be a lot of these!)
  63. Experiment at your own risk.
  64.  
  65. (By the way, if you use Info from the WorkBench menu to check the icon type,
  66. note that any change you make with IconType will NOT show up until you
  67. CLOSE and reopen the drawer containing the icon.)
  68.  
  69.                     Pete Goodeve
  70.                     1987 March 30
  71.  
  72.             %%%%%%%%%%%%%%%%%%%
  73.